package com.ruoyi.fitsculpt.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 食物库对象 easyfit_foods
 *
 * @author metaee
 * @date 2025-02-27
 */
@ApiModel("食物库对象")
public class EasyfitFoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 食物ID
     */
    @ApiModelProperty("食物ID")
    @Excel(name = "食物ID")
    private Long foodId;

    /**
     * 食物名称
     */
    @ApiModelProperty("食物名称")
    @Excel(name = "食物名称")
    private String name;

    /**
     * 每100克卡路里
     */
    @ApiModelProperty("每100克卡路里")
    @Excel(name = "每100克卡路里")
    private Long caloriesPer100g;

    /**
     * 蛋白质(克/100克)
     */
    @ApiModelProperty("蛋白质(克/100克)")
    @Excel(name = "蛋白质(克/100克)")
    private BigDecimal protein;

    /**
     * 碳水化合物(克/100克)
     */
    @ApiModelProperty("碳水化合物(克/100克)")
    @Excel(name = "碳水化合物(克/100克)")
    private BigDecimal carbs;

    /**
     * 脂肪(克/100克)
     */
    @ApiModelProperty("脂肪(克/100克)")
    @Excel(name = "脂肪(克/100克)")
    private BigDecimal fat;

    /**
     * 膳食纤维(克/100克)
     */
    @ApiModelProperty("膳食纤维(克/100克)")
    @Excel(name = "膳食纤维(克/100克)")
    private BigDecimal fiber;

    /**
     * 1:启用 0:禁用
     */
    @ApiModelProperty("1:启用 0:禁用")
    @Excel(name = "1:启用 0:禁用")
    private Long status;

    public Long getFoodId() {
        return foodId;
    }

    public void setFoodId(Long foodId) {
        this.foodId = foodId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCaloriesPer100g() {
        return caloriesPer100g;
    }

    public void setCaloriesPer100g(Long caloriesPer100g) {
        this.caloriesPer100g = caloriesPer100g;
    }

    public BigDecimal getProtein() {
        return protein;
    }

    public void setProtein(BigDecimal protein) {
        this.protein = protein;
    }

    public BigDecimal getCarbs() {
        return carbs;
    }

    public void setCarbs(BigDecimal carbs) {
        this.carbs = carbs;
    }

    public BigDecimal getFat() {
        return fat;
    }

    public void setFat(BigDecimal fat) {
        this.fat = fat;
    }

    public BigDecimal getFiber() {
        return fiber;
    }

    public void setFiber(BigDecimal fiber) {
        this.fiber = fiber;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("foodId", getFoodId())
                .append("name", getName())
                .append("caloriesPer100g", getCaloriesPer100g())
                .append("protein", getProtein())
                .append("carbs", getCarbs())
                .append("fat", getFat())
                .append("fiber", getFiber())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
